package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.StoreEmployeeCommissionSetting;

/**
 * 门店员工提成设置，按门店配置多种提成规则Service接口
 *
 * @author ruoyi
 * @date 2025-05-13
 */
public interface IStoreEmployeeCommissionSettingService
{
    /**
     * 通过id查询门店员工提成设置
     *
     * @param id 门店员工提成设置，按门店配置多种提成规则主键
     * @return 门店员工提成设置，按门店配置多种提成规则
     */
    public StoreEmployeeCommissionSetting selectStoreEmployeeCommissionSettingById(Long id);

    /**
     * 查询门店员工提成设置列表
     *
     * @param storeName 门店名称
     * @return 门店员工提成设置，按门店配置多种提成规则集合
     */
    public List<StoreEmployeeCommissionSetting> selectStoreEmployeeCommissionSettingListByName(String storeName);

    /**
     * 新增门店员工提成设置
     *
     * @param storeEmployeeCommissionSetting 门店员工提成设置，按门店配置多种提成规则
     * @return 结果
     */
    public int insertStoreEmployeeCommissionSetting(StoreEmployeeCommissionSetting storeEmployeeCommissionSetting);

    /**
     * 修改门店员工提成设置
     *
     * @param storeEmployeeCommissionSetting 门店员工提成设置，按门店配置多种提成规则
     * @return 结果
     */
    public int updateStoreEmployeeCommissionSetting(StoreEmployeeCommissionSetting storeEmployeeCommissionSetting);

    /**
     * 通过id批量删除门店员工提成设置信息
     *
     * @param ids 需要删除的门店员工提成设置，按门店配置多种提成规则主键集合
     * @return 结果
     */
    public int deleteStoreEmployeeCommissionSettingByIds(Long[] ids);

    /**
     * 通过id删除门店员工提成设置信息
     *
     * @param id 门店员工提成设置，按门店配置多种提成规则主键
     * @return 结果
     */
    public int deleteStoreEmployeeCommissionSettingById(Long id);
}
